<%@ Page Language="C#" Inherits="System.Web.UI.Page" %>
<%@ Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint.Utilities" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<% Response.ContentType = "text/xml"; %>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
      <s:element name="RenameFolder">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="siteCollectionUrl" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="originalFolderName" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="newFolderName" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="RenameFolderResponse">
        <s:complexType />
      </s:element>
      <s:element name="CreateLinkToDocument">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="siteCollectionUrl" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="folderURl" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="fileLinkUrl" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="fileName" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="CreateLinkToDocumentResponse">
        <s:complexType />
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="RenameFolderSoapIn">
    <wsdl:part name="parameters" element="tns:RenameFolder" />
  </wsdl:message>
  <wsdl:message name="RenameFolderSoapOut">
    <wsdl:part name="parameters" element="tns:RenameFolderResponse" />
  </wsdl:message>
  <wsdl:message name="CreateLinkToDocumentSoapIn">
    <wsdl:part name="parameters" element="tns:CreateLinkToDocument" />
  </wsdl:message>
  <wsdl:message name="CreateLinkToDocumentSoapOut">
    <wsdl:part name="parameters" element="tns:CreateLinkToDocumentResponse" />
  </wsdl:message>
  <wsdl:portType name="InsightSPWSSoap">
    <wsdl:operation name="RenameFolder">
      <wsdl:input message="tns:RenameFolderSoapIn" />
      <wsdl:output message="tns:RenameFolderSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="CreateLinkToDocument">
      <wsdl:input message="tns:CreateLinkToDocumentSoapIn" />
      <wsdl:output message="tns:CreateLinkToDocumentSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="InsightSPWSSoap" type="tns:InsightSPWSSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="RenameFolder">
      <soap:operation soapAction="http://tempuri.org/RenameFolder" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CreateLinkToDocument">
      <soap:operation soapAction="http://tempuri.org/CreateLinkToDocument" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="InsightSPWSSoap12" type="tns:InsightSPWSSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="RenameFolder">
      <soap12:operation soapAction="http://tempuri.org/RenameFolder" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CreateLinkToDocument">
      <soap12:operation soapAction="http://tempuri.org/CreateLinkToDocument" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="InsightSPWS">
    <wsdl:port name="InsightSPWSSoap" binding="tns:InsightSPWSSoap">
   <soap:address location=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(SPWeb.OriginalBaseUrl(Request)),Response.Output); %> />
    </wsdl:port>
    <wsdl:port name="InsightSPWSSoap12" binding="tns:InsightSPWSSoap12">
<soap:address location=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(SPWeb.OriginalBaseUrl(Request)),Response.Output); %> />    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>